﻿using System.Net.Sockets;

namespace OestsServer.Net
{
    /// <summary>
    /// tcp通讯类(服务器)
    /// </summary>
    public class UnityServerListener : ServerListener<UnityClientChannel>
    {
        public override int Port => 7788;
        public override string HandlerNamspace => "OestsServer.Handlers.UnityHandlers";

        protected override string ListenerName => "仿真系统服务";

        public override ClientChannel CreatClient(Socket socket)
        {
            return new UnityClientChannel(ListenerName, socket, ClientManager);
        }
    }
    // internal override ClientManager ClientManager => new UnityClientManager();
}